<div style="margin:10px;" align=center>
	<h1>Nowa licencja</h1>
	
	<% form_for [:admin, @people_license], :url => admin_person_people_license_url, :person_id => @person_id, :html => {:method => :put} do |form| %>
	  <%= form.error_messages %>
	  <div>
			<%= render :partial => 'form', :object => form %>
		</div>
		
		<div align="left"><%= form.submit "Zapisz zmiany" %></div>
	<% end %>
	
	<div align="left"><%= link_to 'Powrót', admin_person_path(@person) %></div>
</div>